package com.opencloud.ywt.provider.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.opencloud.ywt.client.model.entity.BhyfBdbQuestion;
import com.opencloud.ywt.client.model.entity.BhyfBdbTemp;
import com.opencloud.ywt.client.model.entity.BhyfBdbWarningTemp;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface BhyfBdbWarningTempMapper extends BaseMapper<BhyfBdbWarningTemp> {
    List<BhyfBdbWarningTemp> getBdbWarningTempByClass(@Param("classid") Integer classid, @Param("starttime") String starttime, @Param("endtime") String endtime);
    List<BhyfBdbWarningTemp> getBdbWarningTempByGradenum(@Param("gid") Integer gid, @Param("gradenum") Integer gradenum, @Param("classid") Integer classid, @Param("starttime") String starttime, @Param("endtime") String endtime);
}